<?php

/**
 * Configuration form.
 *
 * @package    form
 * @subpackage t_configuration
 * @version    SVN: $Id: sfPropelFormTemplate.php 6174 2007-11-27 06:22:40Z fabien $
 */
class ConfigurationForm extends BaseConfigurationForm
{
  public function configure()
  {
    unset($this['created_at'], $this['updated_at']);
    
    $numbers   = array(200 => '200%',400 => '400%',800 => '800%');
    $decimales = array('0.01', '0.05','0.03','0.02','0.1','0.5');
    $colores   = array('ROJO' => 'ROJO', 'AZUL'=>'AZUL', 'VERDE'=>'VERDE', 'NEGRO'=>'NEGRO', 'BLANCO'=>'BLANCO');
    $this->widgetSchema['eje_y']            = new sfWidgetFormSelect(array('choices' => $numbers));
    $this->widgetSchema['eje_x']            = new sfWidgetFormSelect(array('choices' => $numbers));
    $this->widgetSchema['step']             = new sfWidgetFormSelect(array('choices' => $decimales));
    $this->widgetSchema['background_color'] = new sfWidgetFormSelect(array('choices' => $colores));
    $this->widgetSchema['function_color']   = new sfWidgetFormSelect(array('choices' => $colores));
    
  }
}
